Skip to content

Preserve technical literals in publication DLP - #359

Merged
xeonvs merged 9 commits into
devfrom
fix/358-publication-literals
Dec 1, 2026
Merged

xeonvs merged 9 commits into
devfrom
fix/358-publication-literals

Conversation

@xeonvs

@xeonvs xeonvs commented Dec 1, 2026 •

Copy link
Copy Markdown
Owner

Publication DLP

Addresses #358 for v0.16.1. A review finding can quote two calendar-valid ISO dates, a Unicode heading in a local Markdown link, or a supported binary-size assignment and still reach the report. The fix is limited to publication. It preserves the original quoted text and the existing omission diagnostics.

The publication regression starts with five findings over an immutable synthetic Git diff. Three technical findings reach both JSON and Markdown. Two containing a contact or credential are omitted, including their locations. The offline audit corpus exercises the same inputs.

Review and validation

  • Tested publication and context admission separately, including Markdown rewrites, contact labels and independent secret checks.
  • Added a Towncrier bug-fix entry. Gitleaks and the locked dependency audit passed.
  • Prepared with Codex assistance. Independent reviews identified a context-admission regression and a contact-label normalization gap in the first implementation. Both have focused regression tests.
  • The managed Codex Security scan rejected the linked Git worktree before creating a report. Independent source review and local OCR were run separately.

The full local scripts/quality.sh check passed on macOS with the native OCR opt-in variables unset: 6,434 passed, 87 skipped, 360 subtests passed. The added default tests cover publication filtering, private context readback, cleanup and guarded retry. On the same runtime revision the group covering the review runner, context broker, store, DLP admission and approval improved from 85.23% to 88.08% (85% minimum). The review runner improved from 83.00% to 85.79%, the context store from 82.56% to 89.29%, and overall coverage from 88.44% to 88.79%.

Local OCR completed all eight selected groups on the runtime commit, with one admitted diagram. The follow-up commits document the conservative cases and add tests. The release integration depends on #357 enabling the build and CodeQL workflows for PRs targeting dev. Refresh against dev and verify all twelve required checks after that change lands.

Publication checks for technical literals

flowchart LR
    n0["Recognize dated local anchors and preserve letters through projection"]
    n1["Recognize complete calendar-valid ranges in phone checks"]
    n2["Keep safe findings and omit findings with sensitive material"]
    n3["Check finding text for independent credential and contact signals"]
    n4["Preserve operators in complete standalone or exact inline assignments"]
    n0 --> n2
    n1 --> n2
    n3 --> n0
    n3 --> n1
    n3 --> n4
    n4 --> n2
Loading

@xeonvs xeonvs added this to the v0.16.1 milestone Dec 1, 2026
@xeonvs
xeonvs marked this pull request as ready for review December 1, 2026 15:08
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Dec 1, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-12-01T15:28:14.221253Z 33ea631 New commits
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@xeonvs
xeonvs merged commit f65053e into dev Dec 1, 2026
@xeonvs
xeonvs deleted the fix/358-publication-literals branch December 1, 2026 15:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant